/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication6.DomainLayer;

import java.util.ArrayList;
import java.util.HashMap;

/**
 *
 * @author meydlo
 */
public class StatisticsLogOrders {

    private static StatisticsLogOrders logOrders;
    private HashMap<Long,ArrayList<OrderRentProduct>> logOrdersRentHashMap;
    private HashMap<Long,ArrayList<OrderSellProduct>> logOrdersSellHashMap;

    
    //
    private StatisticsLogOrders(){
        logOrdersRentHashMap=new HashMap<Long, ArrayList<OrderRentProduct>>();
        logOrdersSellHashMap=new HashMap<Long, ArrayList<OrderSellProduct>>();
    }

    //
    public static StatisticsLogOrders getLogOrders(){
        if(logOrders==null)
        {
            logOrders=new StatisticsLogOrders();
        }
        return logOrders;
    }

    public HashMap<Long, ArrayList<OrderRentProduct>> getLogOrdersRentHashMap() {
        return logOrdersRentHashMap;
    }

    public void setLogOrdersRentHashMap(HashMap<Long, ArrayList<OrderRentProduct>> logOrdersRentHashMap) {
        this.logOrdersRentHashMap = logOrdersRentHashMap;
    }

    public HashMap<Long, ArrayList<OrderSellProduct>> getLogOrdersSellHashMap() {
        return logOrdersSellHashMap;
    }

    public void setLogOrdersSellHashMap(HashMap<Long, ArrayList<OrderSellProduct>> logOrdersSellHashMap) {
        this.logOrdersSellHashMap = logOrdersSellHashMap;
    }




}
